package com.inno.subject.controller.dto;

import com.inno.subject.common.entity.PageDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * subjectCategoryDTO
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class SubjectCategoryDTO extends PageDTO implements Serializable {
    private static final long serialVersionUID = -84068834626100535L;

    private Long id;
    /**
     * 分类名称
     */
    private String categoryName;
    /**
     * 父级分类id
     */
    private Long parentId;

    private List<SubjectCategoryDTO> children;


}

